<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property int $is_auto_node 是否自动备注（0=未开启，1=开启）
 * @property int $is_update_node 已是好友是否更新备注（0=未开启，1=开启）
 * @property array $node_content 备注内容
 * @property int $is_auto_operate 已是好友是否自动运营（0=未开启，1=开启）
 * @property array $operate_cfg 运营设置
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChAddFriendConfig extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_add_friend_config';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'is_auto_node', 'is_update_node', 'node_content', 'is_auto_operate', 'operate_cfg', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'is_auto_node' => 'integer', 'is_update_node' => 'integer', 'node_content' => 'array', 'is_auto_operate' => 'integer', 'operate_cfg' => 'array', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
